package packet.impl;

import lombok.Data;
import lombok.EqualsAndHashCode;
import packet.AbstractPacket;

import static constant.Command.LOGIN_RESPONSE;

/**
 * @author Admin
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LoginResponseAbstractPacket extends AbstractPacket {
  private Boolean success;
  private String reason;

  @Override
  public Byte getCommand() {
    return LOGIN_RESPONSE;
  }
}
